﻿@model IEnumerable<NewRen.Models.User>
@{
    ViewBag.Title = "牛人";
    Layout = "~/Areas/Admin/Views/Shared/_AdminLayout.cshtml";
}

<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <h2>牛人管理</h2>
        <ol class="breadcrumb">
            <li>
                <a href="/Admin/Home/Index">后台管理</a>
            </li>
            <li>
                <a href="/Admin/UserGroup/Index">牛棚管理</a>
            </li>
            <li>
                <a href="/Amin/UserGroup/Users">牛人管理</a>
            </li>
        </ol>
    </div>
</div>

@foreach (var item in Model)
{
    <div class="ibox left top-1 col-lg-3">
        <div class="ibox-title">
            <h5>@item.UserName</h5>
        </div>
        <div class="ibox-content">
            @if (@item.Picture == null)
            {
                <img src="/Images/userphoto.png" width="100" height="100" style="border-radius:50%;" />
            }
            else
            {
                <img src="/User/ShowPicture/@item.ID" width="100" height="100" style="border-radius:50%;" alt="图像" />
            }
            <br />
            真实姓名：@item.RealName <br />
            电话:@item.Phone  <br />
            邮箱：@item.Email <br />
            @item.Description
        </div>
    </div>
}
<div class="clearfix"></div>
@Html.MakePager();


